package com.jmu.edu.IMApplication.utils;

import com.jmu.edu.IMApplication.R;

public class ColorUtils {
    private static int[] tagBackgroundColor = {R.color.tag_blue, R.color.tag_cyan, R.color.tag_green, R.color.tag_orange, R.color.tag_pink
            , R.color.tag_purple};
    private static int[] tagFontColor = {R.color.tag_dark_blue, R.color.tag_dark_cyan, R.color.tag_dark_green, R.color.tag_dark_orange, R.color.tag_dark_pink
            , R.color.tag_dark_purple};

    public static int[] getTagBackgroundColor() {
        return tagBackgroundColor;
    }

    public static int[] getTagFontColor() {
        return tagFontColor;
    }

    public static int getTagBackgroundColor(int index) {
        index = index % tagBackgroundColor.length;
        return tagBackgroundColor[index];
    }

    public static int getTagFontColor(int index) {
        index = index % tagFontColor.length;
        return tagFontColor[index];
    }
}
